package org.vectrics.dataweb;

/**
 * Interfaz que tiene la responsabilidad de representar un servicio ajax
 * 
 * @author pgoette
 */

import java.util.Locale;

import org.vectrics.VectricsException;
import org.vectrics.struts.Request;
import org.w3c.dom.Element;

public interface WebService {

	Locale getLocale();

	void getData(Request request, String command,
			Element requestElement, Element responseElement);

	void processRequest(Request request, String command,
			Element requestDataElement, Element responseElement)
			throws VectricsException;

	Element getDataElement(Element responseElement);

}